const parallelRun = async max => {
    const requestSliceList = [];
    for (let i = 0; i < requestList.length; i += max) {
      requestSliceList.push(requestList.slice(i, i + max));
    }
  
    for (let i = 0; i < requestSliceList.length; i++) {
      const group = requestSliceList[i];
      try {
        const res = await Promise.all(group.map(fn => fn()));
        console.log('接口返回值为：', res);
      } catch (error) {
        console.error(error);
      }
    }
  };
  